<?php
class ORMpz_theme {
  public function toObj($args) {
    $obj = new stdClass();
    if (isset($args->track_id)) {
      $obj->track_id =  $args->track_id;
    }
    if (isset($args->name)) {
      $obj->name =  $args->name;
    }
    if (isset($args->folder)) {
      $obj->folder =  $args->folder;
    }
    if (isset($args->order)) {
      $obj->order =  $args->order;
    }
    return $obj;
  }
}
?>
